import type { Env } from './types'

const { VITE_APIPATH, VITE_HOST, VITE_KEY, MODE, DEV } = import.meta.env

export const uploadOrigin = 'https://upload.inmuu.com/'

export default {
    apiPath: VITE_APIPATH || '',
    host: VITE_HOST,
    uploadHost: uploadOrigin + VITE_KEY,
    local: MODE.includes('local'),
    key: VITE_KEY,
    isDev: DEV
} as Env
